﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GeckoPhotos.Models.Image>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	View
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>View</h2>

    <fieldset>
        <legend>Fields</legend>
        <p>
            ImageID:
            <%= Html.Encode(Model.ImageID) %>
        </p>
        <p>
            OwnerUserID:
            <%= Html.Encode(Model.OwnerUserID) %>
        </p>
        <p>
            DateTimeCreated:
            <%= Html.Encode(String.Format("{0:g}", Model.DateTimeCreated)) %>
        </p>
        <p>
            <img alt="<%: Model.Caption %>" src="<%= Url.Action("Get", "Image", new { id = Model.ImageID }) %>" />
        </p>
        <p>
            <%: Model.Caption %>
        </p>
    </fieldset>
    <p>

        <%=Html.ActionLink("Edit", "Edit", new { id=Model.ImageID }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

